package com.example.administrator.mvp.module.login;

import com.example.administrator.mvp.base.i.IBasePresenter;
import com.example.administrator.mvp.base.i.IBaseView;
import com.example.administrator.mvp.model.entity.UserEntity;

/**
 * 契约接口，用来管理Presenter和View
 */
public interface LoginContract {

    interface Presenter extends IBasePresenter {
        void login(String userName, String passWord);
    }

    interface View extends IBaseView {
        void loginSuccess();

        void loginFailure();
    }
}
